//
//  BaseViewController.m
//  Movie
//
//  Created by cjy on 16/3/21.
//  Copyright © 2016年 HY. All rights reserved.
//

#import "BaseViewController.h"

@interface BaseViewController ()

@end

@implementation BaseViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.view.backgroundColor = [UIColor blackColor];
    self.navigationController.navigationBar.barTintColor = [UIColor colorWithRed:15 / 255.f green:15 / 255.f blue:15 / 255.f alpha:0.8];
    self.tabBarController.tabBar.barTintColor = [UIColor colorWithRed:10 / 255.f green:10 / 255.f blue:10 / 255.f alpha:1];
    
    [self.navigationController.navigationBar setTitleTextAttributes:[NSDictionary dictionaryWithObjectsAndKeys:[UIColor colorWithRed:1 green:1 blue:1 alpha:1],NSForegroundColorAttributeName, nil]];

    [[UINavigationBar appearance] setTintColor:[UIColor whiteColor]];  // NavigationBaritem 颜色
    
}



- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
